var netTool
var apiPath='capi/V2/ERShareGift/erShareGift/'
 
 function ERShareGift(_netTool)  {
	 netTool = _netTool
	 this.list = function(data,fn) {
		 netTool.getAjaxUrlValueBackground(apiPath + 'list', { 
		 	...data
		 }, function(res) {
		 	typeof fn == 'function' && fn(res);
		 })
	 }
	 this.save = function(data,fn){
	 		 netTool.getAjaxUrlValueBackground(apiPath + 'save', { 
	 		 	...data
	 		 }, function(res) {
	 		 	typeof fn == 'function' && fn(res);
	 		 })
	 }
 }
module.exports = ERShareGift